<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: TimeoutManager类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_timeout_manager-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">TimeoutManager类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:abfd4306374d5702bd8f585536aa7cc42"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#abfd4306374d5702bd8f585536aa7cc42">HeadIsTimeout</a> ()</td></tr>
<tr class="memdesc:abfd4306374d5702bd8f585536aa7cc42"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断最小一个超时值是否超时  <a href="class_timeout_manager.html#abfd4306374d5702bd8f585536aa7cc42">更多...</a><br /></td></tr>
<tr class="separator:abfd4306374d5702bd8f585536aa7cc42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2debcd95b4ed624ee0faa6726f82c5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#ac2debcd95b4ed624ee0faa6726f82c5a">GetTimerValue</a> ()</td></tr>
<tr class="memdesc:ac2debcd95b4ed624ee0faa6726f82c5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取下一个超时值  <a href="class_timeout_manager.html#ac2debcd95b4ed624ee0faa6726f82c5a">更多...</a><br /></td></tr>
<tr class="separator:ac2debcd95b4ed624ee0faa6726f82c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2b69c0557fef817257c200fee7d70bb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#af2b69c0557fef817257c200fee7d70bb">AddTimer</a> (<a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a> &amp;t)</td></tr>
<tr class="memdesc:af2b69c0557fef817257c200fee7d70bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">增加定时器  <a href="class_timeout_manager.html#af2b69c0557fef817257c200fee7d70bb">更多...</a><br /></td></tr>
<tr class="separator:af2b69c0557fef817257c200fee7d70bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aa7dc241e6703db506dd61489b9a3cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#a2aa7dc241e6703db506dd61489b9a3cc">DelTimer</a> (const <a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a> &amp;t)</td></tr>
<tr class="memdesc:a2aa7dc241e6703db506dd61489b9a3cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除定时器  <a href="class_timeout_manager.html#a2aa7dc241e6703db506dd61489b9a3cc">更多...</a><br /></td></tr>
<tr class="separator:a2aa7dc241e6703db506dd61489b9a3cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31ac7520afa390b96f6c94a6189e6871"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#a31ac7520afa390b96f6c94a6189e6871">ExistDelTimer</a> (const <a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a> &amp;t, <a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a> *newt)</td></tr>
<tr class="memdesc:a31ac7520afa390b96f6c94a6189e6871"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断定时器是否存，若存在则删除  <a href="class_timeout_manager.html#a31ac7520afa390b96f6c94a6189e6871">更多...</a><br /></td></tr>
<tr class="separator:a31ac7520afa390b96f6c94a6189e6871"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e275bf35a2191a21bbf958fd5ccaa30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#a3e275bf35a2191a21bbf958fd5ccaa30">SetCurWaitTimeValue</a> (<a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a> timeout)</td></tr>
<tr class="separator:a3e275bf35a2191a21bbf958fd5ccaa30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26337b88b66923caff1afbb69b297416"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#a26337b88b66923caff1afbb69b297416">GetCurWaitTimeValue</a> () const</td></tr>
<tr class="memdesc:a26337b88b66923caff1afbb69b297416"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前定时器设置的时间  <a href="class_timeout_manager.html#a26337b88b66923caff1afbb69b297416">更多...</a><br /></td></tr>
<tr class="separator:a26337b88b66923caff1afbb69b297416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a1c4861763911bd7c1f9ab2f4bd6b5e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#a2a1c4861763911bd7c1f9ab2f4bd6b5e">Top</a> () const</td></tr>
<tr class="memdesc:a2a1c4861763911bd7c1f9ab2f4bd6b5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回队列中最小的一个定时器  <a href="class_timeout_manager.html#a2a1c4861763911bd7c1f9ab2f4bd6b5e">更多...</a><br /></td></tr>
<tr class="separator:a2a1c4861763911bd7c1f9ab2f4bd6b5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab699bfb8507e734ed4befedebe300ac9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#ab699bfb8507e734ed4befedebe300ac9">Pop</a> ()</td></tr>
<tr class="memdesc:ab699bfb8507e734ed4befedebe300ac9"><td class="mdescLeft">&#160;</td><td class="mdescRight">删除队列中最小的一个定时器  <a href="class_timeout_manager.html#ab699bfb8507e734ed4befedebe300ac9">更多...</a><br /></td></tr>
<tr class="separator:ab699bfb8507e734ed4befedebe300ac9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1b59c1d0934ec1f93deabaf96d725b6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#ad1b59c1d0934ec1f93deabaf96d725b6">Empty</a> () const</td></tr>
<tr class="memdesc:ad1b59c1d0934ec1f93deabaf96d725b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断定时器队列是否为空  <a href="class_timeout_manager.html#ad1b59c1d0934ec1f93deabaf96d725b6">更多...</a><br /></td></tr>
<tr class="separator:ad1b59c1d0934ec1f93deabaf96d725b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcc839b5afb4301bf4cfb8a4f1c0e7c5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#afcc839b5afb4301bf4cfb8a4f1c0e7c5">Clear</a> ()</td></tr>
<tr class="memdesc:afcc839b5afb4301bf4cfb8a4f1c0e7c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">清空所有定时器  <a href="class_timeout_manager.html#afcc839b5afb4301bf4cfb8a4f1c0e7c5">更多...</a><br /></td></tr>
<tr class="separator:afcc839b5afb4301bf4cfb8a4f1c0e7c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a461f91ab5d96160b2d54362d92f83b1f"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#a461f91ab5d96160b2d54362d92f83b1f">Size</a> () const</td></tr>
<tr class="memdesc:a461f91ab5d96160b2d54362d92f83b1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回定时器的数量  <a href="class_timeout_manager.html#a461f91ab5d96160b2d54362d92f83b1f">更多...</a><br /></td></tr>
<tr class="separator:a461f91ab5d96160b2d54362d92f83b1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a620f309c8bdeaa47278819e7bf67fda2"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#a620f309c8bdeaa47278819e7bf67fda2">GetCurTime</a> ()</td></tr>
<tr class="memdesc:a620f309c8bdeaa47278819e7bf67fda2"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前时间  <a href="class_timeout_manager.html#a620f309c8bdeaa47278819e7bf67fda2">更多...</a><br /></td></tr>
<tr class="separator:a620f309c8bdeaa47278819e7bf67fda2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fb19fc2d6a8980f7e27acbb01ac51b9"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#a4fb19fc2d6a8980f7e27acbb01ac51b9">CalTimerValue</a> (<a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a> timekey, <a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a> uptime)</td></tr>
<tr class="memdesc:a4fb19fc2d6a8980f7e27acbb01ac51b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">重新计算超时值  <a href="class_timeout_manager.html#a4fb19fc2d6a8980f7e27acbb01ac51b9">更多...</a><br /></td></tr>
<tr class="separator:a4fb19fc2d6a8980f7e27acbb01ac51b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a2bec164b5eacb7aa1e33e53dcaef1353"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_time_priority_deque.html">TimePriorityDeque</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#a2bec164b5eacb7aa1e33e53dcaef1353">_dTimeouts</a></td></tr>
<tr class="separator:a2bec164b5eacb7aa1e33e53dcaef1353"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1bacadf5a2ae5180e8a68a62e94d00a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_timeout_manager.html#ab1bacadf5a2ae5180e8a68a62e94d00a">_curWaitTime</a></td></tr>
<tr class="separator:ab1bacadf5a2ae5180e8a68a62e94d00a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock">
<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00111">111</a> 行定义.</p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="af2b69c0557fef817257c200fee7d70bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2b69c0557fef817257c200fee7d70bb">&#9670;&nbsp;</a></span>AddTimer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TimeoutManager::AddTimer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a> &amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>增加定时器 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00154">154</a> 行定义.</p>

</div>
</div>
<a id="a4fb19fc2d6a8980f7e27acbb01ac51b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fb19fc2d6a8980f7e27acbb01ac51b9">&#9670;&nbsp;</a></span>CalTimerValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a> TimeoutManager::CalTimerValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a>&#160;</td>
          <td class="paramname"><em>timekey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a>&#160;</td>
          <td class="paramname"><em>uptime</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>重新计算超时值 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00141">141</a> 行定义.</p>

</div>
</div>
<a id="afcc839b5afb4301bf4cfb8a4f1c0e7c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcc839b5afb4301bf4cfb8a4f1c0e7c5">&#9670;&nbsp;</a></span>Clear()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TimeoutManager::Clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>清空所有定时器 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00207">207</a> 行定义.</p>

</div>
</div>
<a id="a2aa7dc241e6703db506dd61489b9a3cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aa7dc241e6703db506dd61489b9a3cc">&#9670;&nbsp;</a></span>DelTimer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TimeoutManager::DelTimer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a> &amp;&#160;</td>
          <td class="paramname"><em>t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除定时器 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00166">166</a> 行定义.</p>

</div>
</div>
<a id="ad1b59c1d0934ec1f93deabaf96d725b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1b59c1d0934ec1f93deabaf96d725b6">&#9670;&nbsp;</a></span>Empty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool TimeoutManager::Empty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断定时器队列是否为空 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00201">201</a> 行定义.</p>

</div>
</div>
<a id="a31ac7520afa390b96f6c94a6189e6871"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31ac7520afa390b96f6c94a6189e6871">&#9670;&nbsp;</a></span>ExistDelTimer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool TimeoutManager::ExistDelTimer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a> &amp;&#160;</td>
          <td class="paramname"><em>t</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a> *&#160;</td>
          <td class="paramname"><em>newt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断定时器是否存，若存在则删除 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00172">172</a> 行定义.</p>

</div>
</div>
<a id="a620f309c8bdeaa47278819e7bf67fda2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a620f309c8bdeaa47278819e7bf67fda2">&#9670;&nbsp;</a></span>GetCurTime()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a> TimeoutManager::GetCurTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取当前时间 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00135">135</a> 行定义.</p>

</div>
</div>
<a id="a26337b88b66923caff1afbb69b297416"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26337b88b66923caff1afbb69b297416">&#9670;&nbsp;</a></span>GetCurWaitTimeValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a> TimeoutManager::GetCurWaitTimeValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取当前定时器设置的时间 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00183">183</a> 行定义.</p>

</div>
</div>
<a id="ac2debcd95b4ed624ee0faa6726f82c5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2debcd95b4ed624ee0faa6726f82c5a">&#9670;&nbsp;</a></span>GetTimerValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a> TimeoutManager::GetTimerValue </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取下一个超时值 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00148">148</a> 行定义.</p>

</div>
</div>
<a id="abfd4306374d5702bd8f585536aa7cc42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfd4306374d5702bd8f585536aa7cc42">&#9670;&nbsp;</a></span>HeadIsTimeout()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool TimeoutManager::HeadIsTimeout </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断最小一个超时值是否超时 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00115">115</a> 行定义.</p>

</div>
</div>
<a id="ab699bfb8507e734ed4befedebe300ac9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab699bfb8507e734ed4befedebe300ac9">&#9670;&nbsp;</a></span>Pop()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TimeoutManager::Pop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>删除队列中最小的一个定时器 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00195">195</a> 行定义.</p>

</div>
</div>
<a id="a3e275bf35a2191a21bbf958fd5ccaa30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e275bf35a2191a21bbf958fd5ccaa30">&#9670;&nbsp;</a></span>SetCurWaitTimeValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void TimeoutManager::SetCurWaitTimeValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a>&#160;</td>
          <td class="paramname"><em>timeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00177">177</a> 行定义.</p>

</div>
</div>
<a id="a461f91ab5d96160b2d54362d92f83b1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a461f91ab5d96160b2d54362d92f83b1f">&#9670;&nbsp;</a></span>Size()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t TimeoutManager::Size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回定时器的数量 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00214">214</a> 行定义.</p>

</div>
</div>
<a id="a2a1c4861763911bd7c1f9ab2f4bd6b5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a1c4861763911bd7c1f9ab2f4bd6b5e">&#9670;&nbsp;</a></span>Top()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="_timer_info_8h.html#a3cdb46a4463fd5c4c305382491ab3e41">TimerInfo</a>&amp; TimeoutManager::Top </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>返回队列中最小的一个定时器 </p>

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00189">189</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ab1bacadf5a2ae5180e8a68a62e94d00a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1bacadf5a2ae5180e8a68a62e94d00a">&#9670;&nbsp;</a></span>_curWaitTime</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a> TimeoutManager::_curWaitTime</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00224">224</a> 行定义.</p>

</div>
</div>
<a id="a2bec164b5eacb7aa1e33e53dcaef1353"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bec164b5eacb7aa1e33e53dcaef1353">&#9670;&nbsp;</a></span>_dTimeouts</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_time_priority_deque.html">TimePriorityDeque</a> TimeoutManager::_dTimeouts</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a> 第 <a class="el" href="_timer_info_8h_source.html#l00221">221</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/socket/internal/<a class="el" href="_timer_info_8h_source.html">TimerInfo.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
